package cn.zero.service;

import cn.zero.model.User;

public interface UserService {
	
	User get(Long id);
	
	User get(String mobile);
	
	User create(String mobile, String password, Long invitorId);

	boolean existMobile(String mobile);
	
	long countInvited(Long userId);
}
